<div class="col-md-4">
    <div class="form-inline inline-block">
        {notempty name="pageSize.size"}
        <form action="{$pageSize.url}" method="post">
            <label for="pageSize">
                每页显示&nbsp;
                <select id="pageSize" class="form-control input-xsmall input-inline" name="pageSize" onchange="this.form.submit();">
                    {foreach name="pageSize.size" item="size"}
                    <option value="{$size}" {if condition="($size == $pageSize.current)"}selected="selected"{/if}>{$size}</option>
                    {/foreach}
                </select>
                &nbsp;条记录
            </label>
        </form>
        {/notempty}
    </div>
</div>
<div class="col-md-8">
    <div class="paginate inline-block pull-right">
        {if condition="($hasPaginate)"}
        {$datas->render()}
        {/if}
    </div>
</div>